WebAssembly and JavaScript Challenge: Numerical program performance using modern browser technologies and devices
نویسندگان
چکیده
Recent advances in execution environments for JavaScript and WebAssembly that run on a broad range of devices, from workstations to IoT devices, provides new opportunities for portable and web-based numerical computing. The aim of this paper is to evaluate the current state of the art through a comprehensive experiment using the Ostrich benchmark suite, a collection of numerical programs representing the numerical dwarf categories. Five research questions evaluate the improvement of JavaScript-based browser engines, the relative performance of JavaScript and WebAssembly, the relative performance of portable versus vendor-specific browsers, the relative performance of server-side versus client-side JavaScript/WebAssembly, and an overall comparison to find the best performing browser/language and the best performing device.
منابع مشابه
The Need for Speed of AI Applications: Performance Comparison of Native vs. Browser-based Algorithm Implementations
AI applications pose increasing demands on performance, so it is not surprising that the era of client-side distributed software is becoming important. On top of many AI applications already using mobile hardware, and even browsers for computationally demanding AI applications, we are already witnessing the emergence of client-side (federated) machine learning algorithms, driven by the interest...
متن کاملTaintAssembly: Taint-Based Information Flow Control Tracking for WebAssembly
WebAssembly (wasm) has recently emerged as a promisingly portable, size-efficient, fast, and safe binary format for the web. As WebAssembly can interact freely with JavaScript libraries, this gives rise to a potential for undesirable behavior to occur. It is therefore important to be able to detect when this might happen. A way to do this is through taint tracking, where we follow the flow of i...
متن کاملConstant-Time WebAssembly
As evermore applications are designed to run inside browsers and other JavaScript runtime systems, there is an increasing need for cryptographic primitives that can be used client-side. Unfortunately, implementing cryptographic primitives securely in high-level languages is extremely difficult—runtime system components such as garbage collectors and just-intime compilers can trivially introduce...
متن کاملPutting in All the Stops
Scores of compilers produce JavaScript, enabling programmers to use many languages on the Web, reuse existing code, and even use Web IDEs. Unfortunately, most compilers expose the browser’s compromised execution model, so longrunning programs freeze the browser tab, infinite loops crash IDEs, and so on. The few compilers that avoid these problems suffer poor performance and are difficult to eng...
متن کاملNumerical Study on Low Reynolds Mixing ofT-Shaped Micro-Mixers with Obstacles
Micromixers are one of the most crucial components of Lab-On-a-Chip devices with the intention of mixing and dispersion of reagents like small molecules and particles. The challenge facing micromixers is typically insufficient mixing efficiency in basic designs, which results in longer microchannels. Therefore, it is desirable to increase mixing efficiency, in order to decrease mixing length, w...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2018